#ifndef __FORMAT_H__
#define __FORMAT_H__
#include <string>
#include <mutex>
#define int8					signed char
#define int16					short
#define int32					int
#define int64					signed __int64

#define uint8					unsigned char			
#define uint16					unsigned short		
#define uint32					unsigned int			
#define uint64					unsigned __int64		

#define WorldPacket				std::string

#define ThreadLocker			std::lock_guard<std::mutex>
enum ClassID
{
	Saber,
	Caster,
	Archer,
	Rider,
	Lancer,
	Assassin,
	Berserker,
	Avenger,
	Ruler,
	Shielder,
};

static std::string buildpacket(int i)
{
	std::string returnstring = "";
	char msg[255];
	_snprintf(msg, 255, "%d|", i);
	returnstring = msg;
	return returnstring;
}
#endif